<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button onclick="window.location.reload()">点我试试</button>
    <script>
        // window.location.href 
        // 读
        //   获取地址栏完整的信息
        // 写
        //    window.location.href  = '新的地址 '
        //     跳转页面 


        // window.location.reload();


        // alert(window.location.href);

        // window.location.href = 'https://www.bing.com';


        // reload

        // for(var i=0;i<5;i++){
        //     document.write(i);
        // }
        // document.write('开始刷新网页');
        // window.location.reload();

    </script>
</body>
</html>